package com.itg.vms.dao;

import com.itg.vms.entity.CollectMovies;
import com.itg.vms.entity.Movies;

import java.util.List;

public interface CollectMoviesDao {

    /**新增收藏影片
     * @param userId
     * @param movie_id
     * @return
     */
    boolean addCollectMovies(Long userId,Long movie_id,String username);

    /**
     * 查询所有收藏的影片
     * @param userId
     * @return
     */
    List<Movies> selectAllCollectMovies(Long userId);


    /**
     * 删除收藏的影片
     * @param userId
     * @param movie_id
     * @return
     */
    boolean deleteCollectMovies(Long userId,Long movie_id);
}
